package com.example.basic.web.mapper.dataCode;

import com.example.basic.base.BaseEntityMapper;
import com.example.basic.web.model.dataCode.DataCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统数据代码表 Mapper 接口
 * </p>
 *
 * @author wjq
 * @since 2024-02-29
 */
@Mapper
public interface DataCodeMapper extends BaseEntityMapper<DataCode> {

    /**
     * @Description
     * 获取最大系统代码
     * @author wjq
     * @since 2024-02-29
     * @param sql
     * @return {@link Long}
     */
    Long getMaxDataCodeNo(@Param("sql") String sql);
}